/* login.css - 绿色主题登录界面专用 */
.root {
    -fx-font-family: "Microsoft YaHei";
    -fx-background-color: #f0f9eb; /* 浅绿色背景 */
}

.login-container {
    -fx-background-color: #ffffff;
    -fx-effect: dropshadow(gaussian, rgba(46, 204, 113, 0.3), 15, 0, 0, 5); /* 绿色阴影 */
    -fx-background-radius: 10;
    -fx-border-radius: 10;
    -fx-border-color: #e0f2e9;
    -fx-border-width: 1px;
}

.login-title {
    -fx-font-size: 28px;
    -fx-font-weight: bold;
    -fx-text-fill: #27ae60; /* 深绿色标题 */
    -fx-effect: dropshadow(gaussian, rgba(39, 174, 96, 0.2), 0, 2, 2, 1);
}

.text-field, .password-field {
    -fx-background-radius: 5;
    -fx-border-radius: 5;
    -fx-border-color: #bdc3c7;
    -fx-border-width: 1;
    -fx-padding: 10;
    -fx-font-size: 14px;
    -fx-focus-color: #2ecc71; /* 绿色焦点边框 */
}

.text-field:focused, .password-field:focused {
    -fx-border-color: #2ecc71;
    -fx-border-width: 2;
}

.button {
    -fx-background-color: #2ecc71; /* 绿色按钮 */
    -fx-text-fill: white;
    -fx-font-size: 14px;
    -fx-padding: 10 25;
    -fx-background-radius: 5;
    -fx-cursor: hand;
    -fx-effect: dropshadow(gaussian, rgba(46, 204, 113, 0.4), 5, 0, 0, 2);
}

.button:hover {
    -fx-background-color: #27ae60; /* 深绿色悬停 */
    -fx-effect: dropshadow(gaussian, rgba(39, 174, 96, 0.6), 7, 0, 0, 3);
}

#resetBtn { /* 通过ID选择器定制重置按钮 */
    -fx-background-color: #95a5a6;
}
#resetBtn:hover {
    -fx-background-color: #7f8c8d;
}